package com.sf.osms.dep.biz.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sf.osms.dep.biz.ICarCodeBiz;
import com.sf.osms.dep.dao.ICarCodeDao;
import com.sf.osms.dep.domain.CarCodeMap;

@Service("carCodeBizImpl")
public class CarCodeBizImpl implements ICarCodeBiz{
	@Autowired
	ICarCodeDao carCode;
	
	@Override
	public List<CarCodeMap> findCarCodeMapById(Long agentId, String batchCode) {
		return carCode.findCarCodeMapById(agentId, batchCode);
	}

	@Override
	public String queryCarCode(String agentName) {
		return carCode.queryCarCode(agentName);
	}

}
